﻿using DAL.Service;
using Helper;
using HZY.Framework.DependencyInjection;
using Model.EntityInfo;

namespace BLL.Manager
{
    public class RouteManager : IScopedSelfDependency 
    {
        private readonly RouteService _routeService;

        public RouteManager(RouteService routeService)
        {
            _routeService = routeService;
        }

        public Task<BaseResult<List<RouteInfoModel>>> GetAllRoute()
        {
            return _routeService.GetAllRoute();
        }
    }
}
